<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
   <%@ include file="/common/CimsCommon.jsp" %>
  <title>临时上传文件</title>
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- 相关js方法 -->
<script type="text/javascript">
	var baseUrl='${basePath}';
	//页面加载完后 
	$(document).ready(function(){
		//initFn();
	});
	
	
	function doUpload(){
		
		
		var txtAre = $("#txtAre").val();
		$.ajax({
			url: "${basePath}termporaryPlan/tempUploadByContractNo",
			type: 'post',
			dataType: 'json',
			data:{"txtAre":txtAre},
			error: function(result) {
				alert("请查看返回数据是否正确：" + result);
			},
			success: function(msg) {
				alert(msg.msg);
			}
		});
		
	}
	
	function doZip(){
		
		
		$.ajax({
			url: "${basePath}termporaryPlan/tempZipByContractNo",
			type: 'post',
			dataType: 'json',
			error: function(result) {
				alert("请查看返回数据是否正确：" + result);
			},
			success: function(msg) {
				if(msg.status=="NO"){
					alert("失败！");
				}else{
					alert("成功！");
				}
			}
		});
		
	}
</script>
 
</head>
<body style="background-color:#FFFFFF">
<div id="formPageSwap">
  <br/>
<form id="uploadForm" name="uploadForm" isCheck="true" enctype="multipart/form-data" action="<%=basePath%>/sysStragy/unlock">
 <table id="uploadFormId" class="formTableSwap" border="0" align="center" cellpadding="0" cellspacing="1" >
	<tr>
	  <th width="100px;"> 合同号：</th>
	  <td > 
	  	<textarea  id="txtAre" rows="5" cols="40"></textarea>
	  </td>
	  <td style="color: red;">
	  	参数规则：<b>"合同号以英文逗号分隔开;"</b>例如：<b>"2015456789121,2015456789122,2015456789123,2015456789124;"</b>
	  </td>
	</tr>


  </table>
<div class="expandToolbar">
	<button onclick="doUpload();return false;"  class="ui-button ui-widget ui-state-default ui-corner-all " role="button">
		<span class="ui-button-text" style="padding:5px 10px 5px 10px;">上传</span>
	</button>
</div>
</form>
</div>
</body>
<!-- 相关js方法 -->	

<script>
</script> 
</html>
